package cn.tannn.cat.file.server.controller.manage.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 修改字典顺序
 *
 * @author <a href="https://tannn.cn/">tan</a>
 * @date 2024/3/8 9:58
 */
@Schema(description = "修改字典顺序")
@ToString
@Getter
@Setter
public class DictSortEdit {
    /**
     * 字典ID
     */
    @Schema(description = "字典ID")
    @NotNull
    private Long id;

    /**
     * 顺序[小在前]
     */
    @Schema(description = "顺序[小在前]")
    @NotNull
    private Integer sort;
}
